Optimal. Leaf size=224 \[ \frac{e^{3/2} \sqrt{c+d x^2} (b e-a f) \Pi \left (1-\frac{b e}{a f};\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right )|1-\frac{d e}{c f}\right )}{a c \sqrt{f} \sqrt{e+f x^2} (b c-a d) \sqrt{\frac{e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}-\frac{\sqrt{e+f x^2} (d e-c f) E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{c f}{d e}\right )}{\sqrt{c} \sqrt{d} \sqrt{c+d x^2} (b c-a d) \sqrt{\frac{c \left (e+f x^2\right )}{e \left (c+d x^2\right )}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.111799, antiderivative size = 224, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.094, Rules used = {542, 539, 411} \[ \frac{e^{3/2} \sqrt{c+d x^2} (b e-a f) \Pi \left (1-\frac{b e}{a f};\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right )|1-\frac{d e}{c f}\right )}{a c \sqrt{f} \sqrt{e+f x^2} (b c-a d) \sqrt{\frac{e \left (c+d x^2\right )}{c \left (e+f x^2\right )}}}-\frac{\sqrt{e+f x^2} (d e-c f) E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{c f}{d e}\right )}{\sqrt{c} \sqrt{d} \sqrt{c+d x^2} (b c-a d) \sqrt{\frac{c \left (e+f x^2\right )}{e \left (c+d x^2\right )}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 542
Rule 539
Rule 411
Rubi steps
\begin{align*} \int \frac{\left (e+f x^2\right )^{3/2}}{\left (a+b x^2\right ) \left (c+d x^2\right )^{3/2}} \, dx &=\frac{(b e-a f) \int \frac{\sqrt{e+f x^2}}{\left (a+b x^2\right ) \sqrt{c+d x^2}} \, dx}{b c-a d}-\frac{(d e-c f) \int \frac{\sqrt{e+f x^2}}{\left (c+d x^2\right )^{3/2}} \, dx}{b c-a d}\\ &=-\frac{(d e-c f) \sqrt{e+f x^2} E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{c f}{d e}\right )}{\sqrt{c} \sqrt{d} (b c-a d) \sqrt{c+d x^2} \sqrt{\frac{c \left (e+f x^2\right )}{e \left (c+d x^2\right )}}}+\frac{e^{3/2} (b e-a f) \sqrt{c+d x^2} \Pi \left (1-\frac{b e}{a f};\tan ^{-1}\left (\frac{\sqrt{f} x}{\sqrt{e}}\right )|1-\frac{d e}{c f}\right )}{a c (b c-a d) \sqrt{f} \sqrt{\frac{e \left (c+d x^2\right )}{c \left (e+f x^2\right )}} \sqrt{e+f x^2}}\\ \end{align*}
Mathematica [C] time = 1.27748, size = 492, normalized size = 2.2 \[ \frac{\sqrt{\frac{d}{c}} \left (i a \sqrt{\frac{d x^2}{c}+1} \sqrt{\frac{f x^2}{e}+1} \left (b e (2 c f-d e)-a c f^2\right ) \text{EllipticF}\left (i \sinh ^{-1}\left (x \sqrt{\frac{d}{c}}\right ),\frac{c f}{d e}\right )+i a^2 c f^2 \sqrt{\frac{d x^2}{c}+1} \sqrt{\frac{f x^2}{e}+1} \Pi \left (\frac{b c}{a d};i \sinh ^{-1}\left (\sqrt{\frac{d}{c}} x\right )|\frac{c f}{d e}\right )+i b^2 c e^2 \sqrt{\frac{d x^2}{c}+1} \sqrt{\frac{f x^2}{e}+1} \Pi \left (\frac{b c}{a d};i \sinh ^{-1}\left (\sqrt{\frac{d}{c}} x\right )|\frac{c f}{d e}\right )+a b d e^2 x \sqrt{\frac{d}{c}}+a b d e f x^3 \sqrt{\frac{d}{c}}-i a b e \sqrt{\frac{d x^2}{c}+1} \sqrt{\frac{f x^2}{e}+1} (c f-d e) E\left (i \sinh ^{-1}\left (\sqrt{\frac{d}{c}} x\right )|\frac{c f}{d e}\right )-2 i a b c e f \sqrt{\frac{d x^2}{c}+1} \sqrt{\frac{f x^2}{e}+1} \Pi \left (\frac{b c}{a d};i \sinh ^{-1}\left (\sqrt{\frac{d}{c}} x\right )|\frac{c f}{d e}\right )-a b c e f x \sqrt{\frac{d}{c}}-a b c f^2 x^3 \sqrt{\frac{d}{c}}\right )}{a b d \sqrt{c+d x^2} \sqrt{e+f x^2} (a d-b c)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.03, size = 630, normalized size = 2.8 \begin{align*}{\frac{1}{abc \left ( ad-bc \right ) \left ( df{x}^{4}+cf{x}^{2}+de{x}^{2}+ce \right ) } \left ( -{x}^{3}abc{f}^{2}\sqrt{-{\frac{d}{c}}}+{x}^{3}abdef\sqrt{-{\frac{d}{c}}}+{\it EllipticF} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{cf}{de}}} \right ){a}^{2}c{f}^{2}\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{f{x}^{2}+e}{e}}}-2\,{\it EllipticF} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{cf}{de}}} \right ) abcef\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{f{x}^{2}+e}{e}}}+{\it EllipticF} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{cf}{de}}} \right ) abd{e}^{2}\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{f{x}^{2}+e}{e}}}+{\it EllipticE} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{cf}{de}}} \right ) abcef\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{f{x}^{2}+e}{e}}}-{\it EllipticE} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{cf}{de}}} \right ) abd{e}^{2}\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{f{x}^{2}+e}{e}}}-{\it EllipticPi} \left ( x\sqrt{-{\frac{d}{c}}},{\frac{bc}{ad}},{\sqrt{-{\frac{f}{e}}}{\frac{1}{\sqrt{-{\frac{d}{c}}}}}} \right ){a}^{2}c{f}^{2}\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{f{x}^{2}+e}{e}}}+2\,{\it EllipticPi} \left ( x\sqrt{-{\frac{d}{c}}},{\frac{bc}{ad}},{\sqrt{-{\frac{f}{e}}}{\frac{1}{\sqrt{-{\frac{d}{c}}}}}} \right ) abcef\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{f{x}^{2}+e}{e}}}-{\it EllipticPi} \left ( x\sqrt{-{\frac{d}{c}}},{\frac{bc}{ad}},{\sqrt{-{\frac{f}{e}}}{\frac{1}{\sqrt{-{\frac{d}{c}}}}}} \right ){b}^{2}c{e}^{2}\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{f{x}^{2}+e}{e}}}-xabcef\sqrt{-{\frac{d}{c}}}+xabd{e}^{2}\sqrt{-{\frac{d}{c}}} \right ) \sqrt{d{x}^{2}+c}\sqrt{f{x}^{2}+e}{\frac{1}{\sqrt{-{\frac{d}{c}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (f x^{2} + e\right )}^{\frac{3}{2}}}{{\left (b x^{2} + a\right )}{\left (d x^{2} + c\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (f x^{2} + e\right )}^{\frac{3}{2}}}{{\left (b x^{2} + a\right )}{\left (d x^{2} + c\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]